<?php
/**
 * Created by PhpStorm.
 * User: chunyang
 * Date: 2018/5/25
 * Time: 16:56
 */
ini_set('display_errors', 1);
error_reporting(-1);
require_once '/data/wwwroot/g_vendor/autoload.php';

use Biz\model\ShopSecurityDepositLog as mShopSecurityDepositLog;
use Biz\service\ShopSecurityDeposit;

$where = [
    'type' => 1,
    'trans_number[!]' => '',
    'trans_time[!]' => '0000-00-00 00:00:00',
];
$list = mShopSecurityDepositLog::getLogs($where, [], []);
var_dump(count($list));
$picIds = ShopSecurityDeposit::buildDepositImg($list);
var_dump($picIds);
die;